import axios from '@/libs/api.request'
import { getToken } from '@/libs/util'

class Position {
  constructor() {
    this.$axios = axios;
  }
  /**
   * 新增设备
   */
  saveBatchPos = (param) => {
    return axios.request({
      url: '/admin/device/pos/temp/adds',
      method: 'post',
      dataType: 'json',
      headers: {
        'Content-Type': 'application/json; charset=UTF-8',
        'token': getToken()
      },
      data: param
    })
  }
};
export default Position;
